package com.itheima.service.impl;

import com.itheima.mapper.LoginMapperJob;
import com.itheima.pojo.Emp;
import com.itheima.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * CTassName: LoginServiceImpl
 * Package: com.itheima.service
 * Description:
 *
 * @Author xw
 * @Create 2023/11/7 10:55
 * @Version 1.0
 */

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapperJob loginMapperJob;

    @Override
    public Emp login(String username, String password) {

        Emp emp = loginMapperJob.login(username,password);



        return emp;

    }
}
